Fix minor GTK3 problems found by static checking.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 23 Apr 2012 07:34:29 +0000 (00:34 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 23 Apr 2012 07:34:29 +0000 (00:34 -0700)
commitd3fc665d930ad2e38b368a8a0d5f5853d46e975e
treea2985a09b7cbebd7e2e20288b4d1120c7d104a50
parent8a2fbd1771f324b5e948f719fd76c391602cc5f9
Fix minor GTK3 problems found by static checking.

* emacsgtkfixed.c (EMACS_TYPE_FIXED, EMACS_FIXED, EmacsFixed)
(EmacsFixedPrivate, EmacsFixedClass, struct _EmacsFixed)
(struct _EmacsFixedClass, emacs_fixed_get_type):
Move decls here from emacsgtkfixed.h, since they needn't be public.
(emacs_fixed_get_type): Now static.
(emacs_fixed_class_init): Omit unused local.
(emacs_fixed_child_type): Remove; unused.
* emacsgtkfixed.h (EMACS_TYPE_FIXED, EMACS_FIXED, EmacsFixed)
(EmacsFixedPrivate, EmacsFixedClass, struct _EmacsFixed)
(struct _EmacsFixedClass): Move to emacsgtkfixed.c.
(EMACS_FIXED_CLASS, EMACS_IS_FIXED, EMACS_IS_FIXED_CLASS)
(EMACS_FIXED_GET_CLASS): Remove; unused.
* gtkutil.c (xg_create_frame_widgets) [!HAVE_GTK3]: Omit unused local.
src/ChangeLog
src/emacsgtkfixed.c
src/emacsgtkfixed.h
src/gtkutil.c